.class Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;
.super Ljava/lang/Object;
.source "ImageFileGridViewWrapper.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;

.field final synthetic b:I

.field final synthetic c:Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->c:Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;

    iput-object p2, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->a:Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;

    iput p3, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->b:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 8

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->c:Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;

    iget-object p1, p1, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;->e:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    iget-boolean v0, p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    if-eqz v0, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->a:Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;

    iget-object p1, p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->d:Landroid/widget/CheckBox;

    invoke-virtual {p1}, Landroid/widget/CheckBox;->isChecked()Z

    move-result p1

    xor-int/lit8 p1, p1, 0x1

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->c:Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;

    iget-object v0, v0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;->e:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    iget-object v1, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->a:Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;

    iget v2, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->b:I

    invoke-virtual {v0, v1, v2, p1}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;IZ)V

    goto/16 :goto_1

    .line 4
    :cond_0
    iget v0, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->b:I

    invoke-virtual {p1, v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    if-eqz p1, :cond_4

    .line 5
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_1

    goto/16 :goto_1

    .line 6
    :cond_1
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->g2(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/pcs/f;->i()Z

    move-result v0

    if-nez v0, :cond_3

    .line 7
    new-instance v0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a$a;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a$a;-><init>(Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;Lcom/estrongs/fs/g;)V

    .line 8
    new-instance v1, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a$b;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a$b;-><init>(Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;Lcom/estrongs/fs/g;)V

    .line 9
    new-instance v2, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a$c;

    invoke-direct {v2, p0, p1}, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a$c;-><init>(Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;Lcom/estrongs/fs/g;)V

    .line 10
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    const-wide/16 v3, 0x0

    invoke-virtual {p1, v3, v4}, Lcom/estrongs/android/pop/l;->a(J)Ljava/lang/String;

    move-result-object p1

    const v3, 0x7f11094b

    const v4, 0x7f110051

    const v5, 0x7f110a2d

    const v6, 0x7f110217

    if-eqz p1, :cond_2

    .line 11
    new-instance p1, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v7, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->c:Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;

    iget-object v7, v7, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;->e:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    iget-object v7, v7, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-direct {p1, v7}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    invoke-virtual {p1, v6}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    .line 12
    invoke-virtual {p1, v5}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    .line 13
    invoke-virtual {p1, v4, v0}, Lcom/estrongs/android/ui/dialog/q$n;->c(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 14
    invoke-virtual {p1, v3, v1}, Lcom/estrongs/android/ui/dialog/q$n;->d(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v0, 0x7f110ab9

    .line 15
    invoke-virtual {p1, v0, v2}, Lcom/estrongs/android/ui/dialog/q$n;->e(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q;->show()V

    goto :goto_0

    .line 16
    :cond_2
    new-instance p1, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v2, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->c:Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;

    iget-object v2, v2, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;->e:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    iget-object v2, v2, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-direct {p1, v2}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    invoke-virtual {p1, v6}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    .line 17
    invoke-virtual {p1, v5}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    .line 18
    invoke-virtual {p1, v4, v0}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 19
    invoke-virtual {p1, v3, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q;->show()V

    :goto_0
    return-void

    .line 20
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->c:Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;

    iget-object p1, p1, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter;->e:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    iget-object v0, p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->i:Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;

    if-eqz v0, :cond_4

    .line 21
    iget-object p1, p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    iget-object v1, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->a:Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;

    iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    iget v2, p0, Lcom/estrongs/android/view/ImageFileGridViewWrapper$ImageEfficientAdapter$a;->b:I

    invoke-interface {v0, p1, v1, v2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;->a(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;I)V

    :cond_4
    :goto_1
    return-void
.end method
